package com.at.abc.r419_e;

import java.io.*;

public class a {

    static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    static PrintWriter out = new PrintWriter(System.out);

    public static void main(String[] args) throws IOException {
        solve();
        out.flush();
        out.close();
        br.close();
    }

    static void solve() throws IOException {
        String s = br.readLine();
        switch (s) {
            case "red" -> out.println("SSS");
            case "blue" -> out.println("FFF");
            case "green" -> out.println("MMM");
            default -> out.println("Unknown");
        }
    }
}
